package com.gange.utils;

public class CurUserInfo {
    private static ThreadLocal<Integer> tl = new ThreadLocal<>();
    public static void setUserId(Integer userid){
        tl.set(userid);
    }
    public static Integer getUserId(){
        return tl.get();
    }
    public static void removeUserId(){
        tl.remove();
    }
}
